Crate axoasset

source ·
Expand description

§axoasset

📮 load, write, and copy remote and local assets

this library is a utility focused on managing both local (filesystem) assets and remote (via http/https) assets. the bulk of the logic is not terribly interesting or uniquely engineered; the purpose this library is primarily to unify and co-locate the logic to make debugging simpler and error handling more consistent and comprehensive.

Structs§

  • A local asset contains a path on the local filesystem and its contents
  • A remote asset is an asset that is fetched over the network.
  • A file’s contents along with its display name
  • A spanned value, indicating the range at which it is defined in the source.

Enums§

  • An asset can either be a local asset, which is designated by a path on the local file system, or a remote asset, which is designated by an http or https url.
  • The set of errors that can occur when axoasset is used